import Vue from 'vue'
import Router from 'vue-router'
import login from '../views/pages/login/index'
import index from '../views/pages/index/index'
import hello from '../views/components/hello'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/hello',
      nane: 'hello',
      component: hello
    }
  ]
})
